<?php
require "words_dl.php";
require "function.php";

$path = "/home/fnsoxt/vvdict/_Shared/_Cache/sentencevoice/";

foreach($words as $key => $value){
    print "start $key ...\n";
    if(!file_exists($path.$key.".wav")){
        soap_download($key,$value,$path);
    }
    else{
        print "pass {$key}\n";
    }
}
